<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="505.0" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ru.nsu.fit.oop.zolotorevskii.lab5.Controller.ChatController">
   <children>
      <Pane layoutX="-7.0" minHeight="-Infinity" prefHeight="50.0" prefWidth="410.0" style="-fx-background-color: #5a55ff;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <Text fill="#dfdfdf" layoutX="140.0" layoutY="38.0" rotate="-5.5" strokeType="OUTSIDE" strokeWidth="0.0" text="QuifMail">
               <font>
                  <Font size="32.0" />
               </font>
            </Text>
         </children>
      </Pane>
      <ScrollPane hbarPolicy="NEVER" layoutX="34.0" layoutY="78.0" prefHeight="470.0" prefWidth="334.0" snapToPixel="false" style="-fx-background-color: #5253f2;" AnchorPane.bottomAnchor="52.0" AnchorPane.leftAnchor="34.0" AnchorPane.rightAnchor="137.0" AnchorPane.topAnchor="78.0">
        <content>
          <AnchorPane fx:id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="0.0" minWidth="0.0" prefHeight="466.0" prefWidth="314.0">
               <children>
                  <VBox fx:id="boxWithMessages" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="461.0" prefWidth="314.0" style="-fx-spacing: 5;" AnchorPane.topAnchor="0.0" />
               </children>
            </AnchorPane>
        </content>
      </ScrollPane>
      <Text fx:id="nameClientLabel" layoutX="184.0" layoutY="74.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Имя" AnchorPane.leftAnchor="184.0" AnchorPane.rightAnchor="184.0">
         <font>
            <Font size="16.0" />
         </font>
      </Text>
      <TextArea fx:id="inputMessageField" layoutX="34.0" layoutY="548.0" onKeyPressed="#keyPressedInMessage" prefHeight="38.0" prefWidth="318.0" wrapText="true" AnchorPane.bottomAnchor="13.0" />
      <Button fx:id="buttonDisconnect" layoutX="374.0" layoutY="543.0" mnemonicParsing="false" onMousePressed="#logoutPressed" prefHeight="38.0" prefWidth="124.0" text="Отключиться" />
      <TextArea fx:id="namesClientsField" disable="true" layoutX="374.0" layoutY="111.0" prefHeight="401.0" prefWidth="124.0" wrapText="true" />
   </children>
</AnchorPane>
